package org.neurone.userspace.userinfo.impl;

import org.neurone.domain.persistence.UserInfoPersistence;
import org.neurone.userspace.dao.DaoServer;

public class UserFaceLocalFactory  {
	protected DaoServer daoServer;
	
	public UserFaceLocal getNewUserFace(Long userID)
	{
		UserFaceLocal ufl = new UserFaceLocal();
		ufl.setUserDetailDao(this.daoServer.getUserDetailDao());
		ufl.setUserInfoDao(this.daoServer.getUserInfoDao());
		ufl.initByUserID(userID);
		
		return ufl;
	}

	public DaoServer getDaoServer() {
		return daoServer;
	}

	public void setDaoServer(DaoServer daoServer) {
		this.daoServer = daoServer;
	}
	
	
}
